From: sudigit Date: Sat, 3 Jan 2026 15:24:24 +0000 (+0530) Subject: js: Don't reset selected tab index in open() of looking glass X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~55^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=8be20feda3d45a61b96b0dce33da36e696ef6710;p=gnome-shell.git js: Don't reset selected tab index in open() of looking glass The looking glass will reopen with the previously opened tab. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8294 Part-of: (cherry picked from commit 304d027eb6d7f6bf80ea7e068a7148d228d46e91) --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 79c56d7ee..ef3eff12c 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -1663,7 +1663,6 @@ class LookingGlass extends St.BoxLayout { } this._grab = grab; - this._notebook.selectIndex(0); this.show(); this._open = true; this._history.lastItem();